<extend name="Public/base" />
<block name="content">
    <div class="row">
        <div class="col-md-12">
        <div class="box">
        <div class="box-header">

                <div class="row">
                    <div class="col-md-2"><h3 class="box-title">{$title}</h3></div>
                    <div class="col-md-offset-10"><a href="{:U('menu/add')}" class="btn btn-info">添加</a></div>
                </div>


        </div>
        <!-- /.box-header -->
        <div class="box-body">
        <table id="example2" class="table table-bordered table-hover">
        <thead>
        <tr>
            <th>序号 </th>
            <th>标题</th>
            <th>排序号</th>
            <th>URL</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
            <volist name="dataList" id="vo" empty="$empty">
            <tr>
                <td>{$i}</td>
                <td>{$vo.title}</td>
                <td>{$vo.sort}</td>
                <td>{$vo.url}</td>
                <td>
                    <a  href="{:U('edit',['id'=>$vo['id']])}" class="glyphicon glyphicon-pencil" title="编辑"></a>&nbsp;&nbsp;&nbsp;
                    <a  href="{:U('del',['id'=>$vo['id']])}" class="glyphicon glyphicon-remove" title="删除"></a>

                </td>
            </tr>
            </volist>
        </tbody>
        <tfoot>
        <tr>
            <th colspan="10">{$pageHtml}</th>
        </tr>
        </tfoot>
        </table>
        </div>
        <!-- /.box-body -->
        </div>
         </div>
    </div>

</block>
 <block name="js">
     <script>

     </script>
 </block>